﻿using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using DevExpress.XtraReports.UI;
using DevExpress.XtraPivotGrid;
using System.Collections.Generic;
using DXApplicationTangche.UC.成品出库单.service;
using System.Data;
using DXApplicationTangche.Utils;
using DevExpress.XtraGrid.Demos.util;

namespace DXApplicationTangche.report
{
    public partial class XtraReport出库单 : DevExpress.XtraReports.UI.XtraReport
    {
        private 出库单导出DTO 出库单导出DTO;
        private Graphics gr = Graphics.FromHwnd(IntPtr.Zero);
        public XtraReport出库单()
        {
            InitializeComponent();
            #region 串子
            this.出库单导出DTO = FunctionHelper.JsonDeserialization<出库单导出DTO>("{\"inOutType\":\"工厂成衣调拨出库\",\"inOutCode\":\"STO-20201123-000037\",\"createDate\":\"2020/11/23 16:50:02\",\"staffName\":\"李岩\",\"inStoreName\":\"凯丹\",\"outStoreName\":\"顺秋服装厂\",\"number\":\"54\",\"StockInOutDetailDTOs\":[{\"barcode\":\"20201120-QVd\",\"batchNo\":\"SM-20201120-000026\",\"styleNameCn\":\"19FP5 女休闲微喇裤\",\"styleSizeCd\":\"S\",\"fabricId\":\"17585\",\"fabricCode\":\"LTQ-430G-1#\",\"fabricName\":\"藏蓝色丝绒面料\",\"fabricComposition\":\"90%POLYESTER10%SP\",\"salesTime\":\"2020-11-23T16:43:51+08:00\",\"inOutFlag\":0,\"inOutType\":\"工厂成衣调拨出库\",\"storeId\":\"1\",\"storeName\":null,\"refStyleId\":\"7781687\",\"inventory\":\"f9y1yXUBHKIuDOaTyjzi\",\"price\":499.0},{\"barcode\":\"20201120-q97\",\"batchNo\":\"SM-20201120-000024\",\"styleNameCn\":\"19FP5 女休闲微喇裤\",\"styleSizeCd\":\"L\",\"fabricId\":\"17585\",\"fabricCode\":\"LTQ-430G-1#\",\"fabricName\":\"藏蓝色丝绒面料\",\"fabricComposition\":\"90%POLYESTER10%SP\",\"salesTime\":\"2020-11-23T16:43:57+08:00\",\"inOutFlag\":0,\"inOutType\":\"工厂成衣调拨出库\",\"storeId\":\"1\",\"storeName\":null,\"refStyleId\":\"7781687\",\"inventory\":\"f9y1yXUBHKIuDOaTyjzi\",\"price\":499.0},{\"barcode\":\"20201120-3Dn\",\"batchNo\":\"SM-20201120-000051\",\"styleNameCn\":\"19FP5 女休闲微喇裤\",\"styleSizeCd\":\"M\",\"fabricId\":\"17587\",\"fabricCode\":\"LTQ-430G-11#\",\"fabricName\":\"黑色丝绒面料\",\"fabricComposition\":\"90%POLYESTER10%SP\",\"salesTime\":\"2020-11-23T16:44:03+08:00\",\"inOutFlag\":0,\"inOutType\":\"工厂成衣调拨出库\",\"storeId\":\"1\",\"storeName\":null,\"refStyleId\":\"7781687\",\"inventory\":\"f9y1yXUBHKIuDOaTyjzi\",\"price\":499.0},{\"barcode\":\"20201120-Moq\",\"batchNo\":\"SM-20201120-000052\",\"styleNameCn\":\"19FP5 女休闲微喇裤\",\"styleSizeCd\":\"L\",\"fabricId\":\"17587\",\"fabricCode\":\"LTQ-430G-11#\",\"fabricName\":\"黑色丝绒面料\",\"fabricComposition\":\"90%POLYESTER10%SP\",\"salesTime\":\"2020-11-23T16:44:09+08:00\",\"inOutFlag\":0,\"inOutType\":\"工厂成衣调拨出库\",\"storeId\":\"1\",\"storeName\":null,\"refStyleId\":\"7781687\",\"inventory\":\"f9y1yXUBHKIuDOaTyjzi\",\"price\":499.0},{\"barcode\":\"20201120-BqV\",\"batchNo\":\"SM-20201120-000049\",\"styleNameCn\":\"19FP5 女休闲微喇裤\",\"styleSizeCd\":\"M\",\"fabricId\":\"17855\",\"fabricCode\":\"LTQ-430G-2#\",\"fabricName\":\"孔雀蓝丝绒面料\",\"fabricComposition\":\"95%P5%SP\",\"salesTime\":\"2020-11-23T16:44:14+08:00\",\"inOutFlag\":0,\"inOutType\":\"工厂成衣调拨出库\",\"storeId\":\"1\",\"storeName\":null,\"refStyleId\":\"7781687\",\"inventory\":\"f9y1yXUBHKIuDOaTyjzi\",\"price\":499.0},{\"barcode\":\"20201120-nYr\",\"batchNo\":\"SM-20201120-000049\",\"styleNameCn\":\"19FP5 女休闲微喇裤\",\"styleSizeCd\":\"M\",\"fabricId\":\"17855\",\"fabricCode\":\"LTQ-430G-2#\",\"fabricName\":\"孔雀蓝丝绒面料\",\"fabricComposition\":\"95%P5%SP\",\"salesTime\":\"2020-11-23T16:44:20+08:00\",\"inOutFlag\":0,\"inOutType\":\"工厂成衣调拨出库\",\"storeId\":\"1\",\"storeName\":null,\"refStyleId\":\"7781687\",\"inventory\":\"f9y1yXUBHKIuDOaTyjzi\",\"price\":499.0},{\"barcode\":\"20201120-kZn\",\"batchNo\":\"SM-20201120-000047\",\"styleNameCn\":\"1FSSK 顶级重缎真丝女衫\",\"styleSizeCd\":\"S\",\"fabricId\":\"16957\",\"fabricCode\":\"ZSZD-03\",\"fabricName\":\"墨绿色30姆米重磅真丝面料\",\"fabricComposition\":\"100%SILK\",\"salesTime\":\"2020-11-23T16:44:26+08:00\",\"inOutFlag\":0,\"inOutType\":\"工厂成衣调拨出库\",\"storeId\":\"1\",\"storeName\":null,\"refStyleId\":\"72108\",\"inventory\":\"d9y1yXUBHKIuDOaTwTyc\",\"price\":980.0},{\"barcode\":\"20201120-yOZ\",\"batchNo\":\"SM-20201120-000050\",\"styleNameCn\":\"1FSSK 顶级重缎真丝女衫\",\"styleSizeCd\":\"M\",\"fabricId\":\"16957\",\"fabricCode\":\"ZSZD-03\",\"fabricName\":\"墨绿色30姆米重磅真丝面料\",\"fabricComposition\":\"100%SILK\",\"salesTime\":\"2020-11-23T16:44:34+08:00\",\"inOutFlag\":0,\"inOutType\":\"工厂成衣调拨出库\",\"storeId\":\"1\",\"storeName\":null,\"refStyleId\":\"72108\",\"inventory\":\"d9y1yXUBHKIuDOaTwTyc\",\"price\":980.0},{\"barcode\":\"20201120-r7b\",\"batchNo\":\"SM-20201120-000050\",\"styleNameCn\":\"1FSSK 顶级重缎真丝女衫\",\"styleSizeCd\":\"M\",\"fabricId\":\"16957\",\"fabricCode\":\"ZSZD-03\",\"fabricName\":\"墨绿色30姆米重磅真丝面料\",\"fabricComposition\":\"100%SILK\",\"salesTime\":\"2020-11-23T16:44:39+08:00\",\"inOutFlag\":0,\"inOutType\":\"工厂成衣调拨出库\",\"storeId\":\"1\",\"storeName\":null,\"refStyleId\":\"72108\",\"inventory\":\"d9y1yXUBHKIuDOaTwTyc\",\"price\":980.0},{\"barcode\":\"20201120-PZZ\",\"batchNo\":\"SM-20201120-000048\",\"styleNameCn\":\"1FSSK 顶级重缎真丝女衫\",\"styleSizeCd\":\"M\",\"fabricId\":\"16959\",\"fabricCode\":\"ZSZD-13\",\"fabricName\":\"深橙色30姆米重磅真丝面料\",\"fabricComposition\":\"100%SILK\",\"salesTime\":\"2020-11-23T16:44:51+08:00\",\"inOutFlag\":0,\"inOutType\":\"工厂成衣调拨出库\",\"storeId\":\"1\",\"storeName\":null,\"refStyleId\":\"72108\",\"inventory\":\"d9y1yXUBHKIuDOaTwTyc\",\"price\":1080.0},{\"barcode\":\"20201120-vZk\",\"batchNo\":\"SM-20201120-000037\",\"styleNameCn\":\"19FJ4 女长款修身双排6粒扣西服\",\"styleSizeCd\":\"L\",\"fabricId\":\"16831\",\"fabricCode\":\"YJ-B18102-黑\",\"fabricName\":\"黑色进口纱不透光面料\",\"fabricComposition\":\"95%POLYESTER5%PU\",\"salesTime\":\"2020-11-23T16:44:57+08:00\",\"inOutFlag\":0,\"inOutType\":\"工厂成衣调拨出库\",\"storeId\":\"1\",\"storeName\":null,\"refStyleId\":\"7774023\",\"inventory\":\"hdy1yXUBHKIuDOaT1Dxt\",\"price\":999.0},{\"barcode\":\"20201120-dk3\",\"batchNo\":\"SM-20201120-000041\",\"styleNameCn\":\"19FJ21 女短款直筒圆领搭襟4兜\",\"styleSizeCd\":\"S\",\"fabricId\":\"17821\",\"fabricCode\":\"LS476-5\",\"fabricName\":\"灰色蓝丝编织小香风面料\",\"fabricComposition\":\"100%polyester\",\"salesTime\":\"2020-11-23T16:45:04+08:00\",\"inOutFlag\":0,\"inOutType\":\"工厂成衣调拨出库\",\"storeId\":\"1\",\"storeName\":null,\"refStyleId\":\"7774398\",\"inventory\":\"kty3yXUBHKIuDOaTBjx8\",\"price\":1280.0},{\"barcode\":\"20201120-G9w\",\"batchNo\":\"SM-20201120-000038\",\"styleNameCn\":\"19FJ21 女短款直筒圆领搭襟4兜\",\"styleSizeCd\":\"M\",\"fabricId\":\"17821\",\"fabricCode\":\"LS476-5\",\"fabricName\":\"灰色蓝丝编织小香风面料\",\"fabricComposition\":\"100%polyester\",\"salesTime\":\"2020-11-23T16:45:09+08:00\",\"inOutFlag\":0,\"inOutType\":\"工厂成衣调拨出库\",\"storeId\":\"1\",\"storeName\":null,\"refStyleId\":\"7774398\",\"inventory\":\"kty3yXUBHKIuDOaTBjx8\",\"price\":1280.0},{\"barcode\":\"20201120-Y9x\",\"batchNo\":\"SM-20201120-000039\",\"styleNameCn\":\"19FJ21 女短款直筒圆领搭襟4兜\",\"styleSizeCd\":\"L\",\"fabricId\":\"17591\",\"fabricCode\":\"JQ-20113\",\"fabricName\":\"黑色粗纺金银丝小香风面料\",\"fabricComposition\":\"60%COTTON40%POLYESTER\",\"salesTime\":\"2020-11-23T16:45:23+08:00\",\"inOutFlag\":0,\"inOutType\":\"工厂成衣调拨出库\",\"storeId\":\"1\",\"storeName\":null,\"refStyleId\":\"7774398\",\"inventory\":\"kty3yXUBHKIuDOaTBjx8\",\"price\":1280.0},{\"barcode\":\"20201120-bLR\",\"batchNo\":\"SM-20201120-000040\",\"styleNameCn\":\"19FJ12 长款直筒小香风\",\"styleSizeCd\":\"M\",\"fabricId\":\"10553\",\"fabricCode\":\"YR-01WHT\",\"fabricName\":\"粗纺小香风毛呢\",\"fabricComposition\":\"4CALB-60W40T\",\"salesTime\":\"2020-11-23T16:45:29+08:00\",\"inOutFlag\":0,\"inOutType\":\"工厂成衣调拨出库\",\"storeId\":\"1\",\"storeName\":null,\"refStyleId\":\"7773461\",\"inventory\":\"c9y1yXUBHKIuDOaTujzp\",\"price\":980.0},{\"barcode\":\"20201120-17P\",\"batchNo\":\"SM-20201120-000042\",\"styleNameCn\":\"19FJ12 长款直筒小香风\",\"styleSizeCd\":\"S\",\"fabricId\":\"17968\",\"fabricCode\":\"YR-01BLk\",\"fabricName\":\"黑色米粗纱小香风面料\",\"fabricComposition\":\"60%WOOL  40%P\",\"salesTime\":\"2020-11-23T16:45:33+08:00\",\"inOutFlag\":0,\"inOutType\":\"工厂成衣调拨出库\",\"storeId\":\"1\",\"storeName\":null,\"refStyleId\":\"7773461\",\"inventory\":\"c9y1yXUBHKIuDOaTujzp\",\"price\":980.0},{\"barcode\":\"20201120-x9G\",\"batchNo\":\"SM-20201120-000042\",\"styleNameCn\":\"19FJ12 长款直筒小香风\",\"styleSizeCd\":\"S\",\"fabricId\":\"17968\",\"fabricCode\":\"YR-01BLk\",\"fabricName\":\"黑色米粗纱小香风面料\",\"fabricComposition\":\"60%WOOL  40%P\",\"salesTime\":\"2020-11-23T16:45:38+08:00\",\"inOutFlag\":0,\"inOutType\":\"工厂成衣调拨出库\",\"storeId\":\"1\",\"storeName\":null,\"refStyleId\":\"7773461\",\"inventory\":\"c9y1yXUBHKIuDOaTujzp\",\"price\":980.0},{\"barcode\":\"20201120-LLD\",\"batchNo\":\"SM-20201120-000030\",\"styleNameCn\":\"19FJ4-2 女长款修身双排6粒扣西服\",\"styleSizeCd\":\"M\",\"fabricId\":\"16830\",\"fabricCode\":\"YJ-B18102-白\",\"fabricName\":\"白色进口纱不透光面料\",\"fabricComposition\":\"95%POLYESTER5%PU\",\"salesTime\":\"2020-11-23T16:45:44+08:00\",\"inOutFlag\":0,\"inOutType\":\"工厂成衣调拨出库\",\"storeId\":\"1\",\"storeName\":null,\"refStyleId\":\"7774023\",\"inventory\":\"hdy1yXUBHKIuDOaT1Dxt\",\"price\":999.0},{\"barcode\":\"20201120-ZWN\",\"batchNo\":\"SM-20201120-000030\",\"styleNameCn\":\"19FJ4-2 女长款修身双排6粒扣西服\",\"styleSizeCd\":\"M\",\"fabricId\":\"16830\",\"fabricCode\":\"YJ-B18102-白\",\"fabricName\":\"白色进口纱不透光面料\",\"fabricComposition\":\"95%POLYESTER5%PU\",\"salesTime\":\"2020-11-23T16:45:48+08:00\",\"inOutFlag\":0,\"inOutType\":\"工厂成衣调拨出库\",\"storeId\":\"1\",\"storeName\":null,\"refStyleId\":\"7774023\",\"inventory\":\"hdy1yXUBHKIuDOaT1Dxt\",\"price\":999.0},{\"barcode\":\"20201120-K6v\",\"batchNo\":\"SM-20201120-000027\",\"styleNameCn\":\"19FJ4-3 女长款修身双排6粒扣西服\",\"styleSizeCd\":\"S\",\"fabricId\":\"17587\",\"fabricCode\":\"LTQ-430G-11#\",\"fabricName\":\"黑色丝绒面料\",\"fabricComposition\":\"90%POLYESTER10%SP\",\"salesTime\":\"2020-11-23T16:45:53+08:00\",\"inOutFlag\":0,\"inOutType\":\"工厂成衣调拨出库\",\"storeId\":\"1\",\"storeName\":null,\"refStyleId\":\"7774023\",\"inventory\":\"hdy1yXUBHKIuDOaT1Dxt\",\"price\":999.0},{\"barcode\":\"20201120-PZ2\",\"batchNo\":\"SM-20201120-000056\",\"styleNameCn\":\"20FJ03-2 女标准修身单排2粒扣西服_衣长剪短5cm\",\"styleSizeCd\":\"M\",\"fabricId\":\"17672\",\"fabricCode\":\"QC-37\",\"fabricName\":\"真丝羊毛精纺-松石绿\",\"fabricComposition\":\"50%羊毛51%柞蚕丝\",\"salesTime\":\"2020-11-23T16:45:59+08:00\",\"inOutFlag\":0,\"inOutType\":\"工厂成衣调拨出库\",\"storeId\":\"1\",\"storeName\":null,\"refStyleId\":\"7774596\",\"inventory\":\"sNy3yXUBHKIuDOaTOjwD\",\"price\":1280.0},{\"barcode\":\"20201120-OaJ\",\"batchNo\":\"SM-20201120-000056\",\"styleNameCn\":\"20FJ03-2 女标准修身单排2粒扣西服_衣长剪短5cm\",\"styleSizeCd\":\"M\",\"fabricId\":\"17672\",\"fabricCode\":\"QC-37\",\"fabricName\":\"真丝羊毛精纺-松石绿\",\"fabricComposition\":\"50%羊毛51%柞蚕丝\",\"salesTime\":\"2020-11-23T16:46:06+08:00\",\"inOutFlag\":0,\"inOutType\":\"工厂成衣调拨出库\",\"storeId\":\"1\",\"storeName\":null,\"refStyleId\":\"7774596\",\"inventory\":\"sNy3yXUBHKIuDOaTOjwD\",\"price\":1280.0},{\"barcode\":\"20201120-AVy\",\"batchNo\":\"SM-20201120-000057\",\"styleNameCn\":\"20FJ03-2 女标准修身单排2粒扣西服_衣长剪短5cm\",\"styleSizeCd\":\"S\",\"fabricId\":\"17671\",\"fabricCode\":\"QC-36\",\"fabricName\":\"真丝羊毛精纺-金驼\",\"fabricComposition\":\"50%羊毛50%柞蚕丝\",\"salesTime\":\"2020-11-23T16:46:12+08:00\",\"inOutFlag\":0,\"inOutType\":\"工厂成衣调拨出库\",\"storeId\":\"1\",\"storeName\":null,\"refStyleId\":\"7774596\",\"inventory\":\"sNy3yXUBHKIuDOaTOjwD\",\"price\":1280.0},{\"barcode\":\"20201120-o21\",\"batchNo\":\"SM-20201120-000055\",\"styleNameCn\":\"20FJ03-2 女标准修身单排2粒扣西服_衣长剪短5cm\",\"styleSizeCd\":\"S\",\"fabricId\":\"17674\",\"fabricCode\":\"QC-38\",\"fabricName\":\"真丝羊毛精纺-焉红\",\"fabricComposition\":\"50%羊毛52%柞蚕丝\",\"salesTime\":\"2020-11-23T16:46:17+08:00\",\"inOutFlag\":0,\"inOutType\":\"工厂成衣调拨出库\",\"storeId\":\"1\",\"storeName\":null,\"refStyleId\":\"7774596\",\"inventory\":\"sNy3yXUBHKIuDOaTOjwD\",\"price\":1280.0},{\"barcode\":\"20201120-03Q\",\"batchNo\":\"SM-20201120-000058\",\"styleNameCn\":\"20FJ03-2 女标准修身单排2粒扣西服_衣长剪短5cm\",\"styleSizeCd\":\"M\",\"fabricId\":\"17456\",\"fabricCode\":\"LS2-07\",\"fabricName\":\"红色麻纱布\",\"fabricComposition\":\"70%羊毛30%聚酯纤维\",\"salesTime\":\"2020-11-23T16:46:22+08:00\",\"inOutFlag\":0,\"inOutType\":\"工厂成衣调拨出库\",\"storeId\":\"1\",\"storeName\":null,\"refStyleId\":\"7774596\",\"inventory\":\"sNy3yXUBHKIuDOaTOjwD\",\"price\":1080.0},{\"barcode\":\"20201120-Wlr\",\"batchNo\":\"SM-20201120-000069\",\"styleNameCn\":\"20FJ03-2 女标准修身单排2粒扣西服_衣长剪短5cm\",\"styleSizeCd\":\"S\",\"fabricId\":\"17841\",\"fabricCode\":\"YJ-B18289-111\",\"fabricName\":\"白色灯芯绒面料\",\"fabricComposition\":\"100%cotton\",\"salesTime\":\"2020-11-23T16:46:29+08:00\",\"inOutFlag\":0,\"inOutType\":\"工厂成衣调拨出库\",\"storeId\":\"1\",\"storeName\":null,\"refStyleId\":\"7774596\",\"inventory\":\"sNy3yXUBHKIuDOaTOjwD\",\"price\":999.0},{\"barcode\":\"20201120-wJn\",\"batchNo\":\"SM-20201120-000065\",\"styleNameCn\":\"20FJ03-2 女标准修身单排2粒扣西服_衣长剪短5cm\",\"styleSizeCd\":\"M\",\"fabricId\":\"17841\",\"fabricCode\":\"YJ-B18289-111\",\"fabricName\":\"白色灯芯绒面料\",\"fabricComposition\":\"100%cotton\",\"salesTime\":\"2020-11-23T16:46:33+08:00\",\"inOutFlag\":0,\"inOutType\":\"工厂成衣调拨出库\",\"storeId\":\"1\",\"storeName\":null,\"refStyleId\":\"7774596\",\"inventory\":\"sNy3yXUBHKIuDOaTOjwD\",\"price\":999.0},{\"barcode\":\"20201120-VO0\",\"batchNo\":\"SM-20201120-000067\",\"styleNameCn\":\"20FJ03-2 女标准修身单排2粒扣西服_衣长剪短5cm\",\"styleSizeCd\":\"L\",\"fabricId\":\"17841\",\"fabricCode\":\"YJ-B18289-111\",\"fabricName\":\"白色灯芯绒面料\",\"fabricComposition\":\"100%cotton\",\"salesTime\":\"2020-11-23T16:46:38+08:00\",\"inOutFlag\":0,\"inOutType\":\"工厂成衣调拨出库\",\"storeId\":\"1\",\"storeName\":null,\"refStyleId\":\"7774596\",\"inventory\":\"sNy3yXUBHKIuDOaTOjwD\",\"price\":999.0},{\"barcode\":\"20201120-aDd\",\"batchNo\":\"SM-20201120-000025\",\"styleNameCn\":\"19FJ4-3 女长款修身双排6粒扣西服\",\"styleSizeCd\":\"L\",\"fabricId\":\"17585\",\"fabricCode\":\"LTQ-430G-1#\",\"fabricName\":\"藏蓝色丝绒面料\",\"fabricComposition\":\"90%POLYESTER10%SP\",\"salesTime\":\"2020-11-23T16:46:43+08:00\",\"inOutFlag\":0,\"inOutType\":\"工厂成衣调拨出库\",\"storeId\":\"1\",\"storeName\":null,\"refStyleId\":\"7774023\",\"inventory\":\"hdy1yXUBHKIuDOaT1Dxt\",\"price\":999.0},{\"barcode\":\"20201120-7D9\",\"batchNo\":\"SM-20201120-000028\",\"styleNameCn\":\"19FJ4-3 女长款修身双排6粒扣西服\",\"styleSizeCd\":\"M\",\"fabricId\":\"17587\",\"fabricCode\":\"LTQ-430G-11#\",\"fabricName\":\"黑色丝绒面料\",\"fabricComposition\":\"90%POLYESTER10%SP\",\"salesTime\":\"2020-11-23T16:46:47+08:00\",\"inOutFlag\":0,\"inOutType\":\"工厂成衣调拨出库\",\"storeId\":\"1\",\"storeName\":null,\"refStyleId\":\"7774023\",\"inventory\":\"hdy1yXUBHKIuDOaT1Dxt\",\"price\":999.0},{\"barcode\":\"20201120-4qQ\",\"batchNo\":\"SM-20201120-000063\",\"styleNameCn\":\"20FJ03-2-4 女标准修身单排两粒扣西服（丝绒）\",\"styleSizeCd\":\"M\",\"fabricId\":\"17585\",\"fabricCode\":\"LTQ-430G-1#\",\"fabricName\":\"藏蓝色丝绒面料\",\"fabricComposition\":\"90%POLYESTER10%SP\",\"salesTime\":\"2020-11-23T16:46:52+08:00\",\"inOutFlag\":0,\"inOutType\":\"工厂成衣调拨出库\",\"storeId\":\"1\",\"storeName\":null,\"refStyleId\":\"7774596\",\"inventory\":\"sNy3yXUBHKIuDOaTOjwD\",\"price\":999.0},{\"barcode\":\"20201120-2NM\",\"batchNo\":\"SM-20201120-000064\",\"styleNameCn\":\"20FJ03-2-4 女标准修身单排两粒扣西服（丝绒）\",\"styleSizeCd\":\"L\",\"fabricId\":\"17585\",\"fabricCode\":\"LTQ-430G-1#\",\"fabricName\":\"藏蓝色丝绒面料\",\"fabricComposition\":\"90%POLYESTER10%SP\",\"salesTime\":\"2020-11-23T16:46:57+08:00\",\"inOutFlag\":0,\"inOutType\":\"工厂成衣调拨出库\",\"storeId\":\"1\",\"storeName\":null,\"refStyleId\":\"7774596\",\"inventory\":\"sNy3yXUBHKIuDOaTOjwD\",\"price\":999.0},{\"barcode\":\"20201120-5qr\",\"batchNo\":\"SM-20201120-000061\",\"styleNameCn\":\"20FJ03-2-4 女标准修身单排两粒扣西服（丝绒）\",\"styleSizeCd\":\"XL\",\"fabricId\":\"17585\",\"fabricCode\":\"LTQ-430G-1#\",\"fabricName\":\"藏蓝色丝绒面料\",\"fabricComposition\":\"90%POLYESTER10%SP\",\"salesTime\":\"2020-11-23T16:47:02+08:00\",\"inOutFlag\":0,\"inOutType\":\"工厂成衣调拨出库\",\"storeId\":\"1\",\"storeName\":null,\"refStyleId\":\"7774596\",\"inventory\":\"sNy3yXUBHKIuDOaTOjwD\",\"price\":999.0},{\"barcode\":\"20201120-EMv\",\"batchNo\":\"SM-20201120-000062\",\"styleNameCn\":\"20FJ03-2-4 女标准修身单排两粒扣西服（丝绒）\",\"styleSizeCd\":\"S\",\"fabricId\":\"17854\",\"fabricCode\":\"LTQ-430G-26#\",\"fabricName\":\"焦糖色丝绒面料\",\"fabricComposition\":\"90%P10%SP\",\"salesTime\":\"2020-11-23T16:47:10+08:00\",\"inOutFlag\":0,\"inOutType\":\"工厂成衣调拨出库\",\"storeId\":\"1\",\"storeName\":null,\"refStyleId\":\"7774596\",\"inventory\":\"sNy3yXUBHKIuDOaTOjwD\",\"price\":999.0},{\"barcode\":\"20201120-N6o\",\"batchNo\":\"SM-20201120-000062\",\"styleNameCn\":\"20FJ03-2-4 女标准修身单排两粒扣西服（丝绒）\",\"styleSizeCd\":\"S\",\"fabricId\":\"17854\",\"fabricCode\":\"LTQ-430G-26#\",\"fabricName\":\"焦糖色丝绒面料\",\"fabricComposition\":\"90%P10%SP\",\"salesTime\":\"2020-11-23T16:47:49+08:00\",\"inOutFlag\":0,\"inOutType\":\"工厂成衣调拨出库\",\"storeId\":\"1\",\"storeName\":null,\"refStyleId\":\"7774596\",\"inventory\":\"sNy3yXUBHKIuDOaTOjwD\",\"price\":999.0},{\"barcode\":\"20201120-ew4\",\"batchNo\":\"SM-20201120-000060\",\"styleNameCn\":\"20FJ03-2-4 女标准修身单排两粒扣西服（丝绒）\",\"styleSizeCd\":\"M\",\"fabricId\":\"17854\",\"fabricCode\":\"LTQ-430G-26#\",\"fabricName\":\"焦糖色丝绒面料\",\"fabricComposition\":\"90%P10%SP\",\"salesTime\":\"2020-11-23T16:48:01+08:00\",\"inOutFlag\":0,\"inOutType\":\"工厂成衣调拨出库\",\"storeId\":\"1\",\"storeName\":null,\"refStyleId\":\"7774596\",\"inventory\":\"sNy3yXUBHKIuDOaTOjwD\",\"price\":999.0},{\"barcode\":\"20201120-R7E\",\"batchNo\":\"SM-20201120-000071\",\"styleNameCn\":\"20FJ03-2-4 女标准修身单排两粒扣西服（丝绒）\",\"styleSizeCd\":\"L\",\"fabricId\":\"17854\",\"fabricCode\":\"LTQ-430G-26#\",\"fabricName\":\"焦糖色丝绒面料\",\"fabricComposition\":\"90%P10%SP\",\"salesTime\":\"2020-11-23T16:48:07+08:00\",\"inOutFlag\":0,\"inOutType\":\"工厂成衣调拨出库\",\"storeId\":\"1\",\"storeName\":null,\"refStyleId\":\"7774596\",\"inventory\":\"sNy3yXUBHKIuDOaTOjwD\",\"price\":999.0},{\"barcode\":\"20201120-vLz\",\"batchNo\":\"SM-20201120-000072\",\"styleNameCn\":\"20FJ03-2-4 女标准修身单排两粒扣西服（丝绒）\",\"styleSizeCd\":\"XL\",\"fabricId\":\"17854\",\"fabricCode\":\"LTQ-430G-26#\",\"fabricName\":\"焦糖色丝绒面料\",\"fabricComposition\":\"90%P10%SP\",\"salesTime\":\"2020-11-23T16:48:14+08:00\",\"inOutFlag\":0,\"inOutType\":\"工厂成衣调拨出库\",\"storeId\":\"1\",\"storeName\":null,\"refStyleId\":\"7774596\",\"inventory\":\"sNy3yXUBHKIuDOaTOjwD\",\"price\":999.0},{\"barcode\":\"20201120-xbN\",\"batchNo\":\"SM-20201120-000085\",\"styleNameCn\":\"20FJ03-6 女长款修身单排两粒扣西服(衣长不动\",\"styleSizeCd\":\"M\",\"fabricId\":\"17912\",\"fabricCode\":\"XS-JX009-2\",\"fabricName\":\"白条进口毛呢印象条纹系列\",\"fabricComposition\":\"80%T17%R3%SP\",\"salesTime\":\"2020-11-23T16:48:28+08:00\",\"inOutFlag\":0,\"inOutType\":\"工厂成衣调拨出库\",\"storeId\":\"1\",\"storeName\":null,\"refStyleId\":\"7774596\",\"inventory\":\"sNy3yXUBHKIuDOaTOjwD\",\"price\":999.0},{\"barcode\":\"20201120-ZRa\",\"batchNo\":\"SM-20201120-000087\",\"styleNameCn\":\"20FJ03-6 女长款修身单排两粒扣西服(衣长不动\",\"styleSizeCd\":\"L\",\"fabricId\":\"17912\",\"fabricCode\":\"XS-JX009-2\",\"fabricName\":\"白条进口毛呢印象条纹系列\",\"fabricComposition\":\"80%T17%R3%SP\",\"salesTime\":\"2020-11-23T16:48:34+08:00\",\"inOutFlag\":0,\"inOutType\":\"工厂成衣调拨出库\",\"storeId\":\"1\",\"storeName\":null,\"refStyleId\":\"7774596\",\"inventory\":\"sNy3yXUBHKIuDOaTOjwD\",\"price\":999.0},{\"barcode\":\"20201120-LJV\",\"batchNo\":\"SM-20201120-000087\",\"styleNameCn\":\"20FJ03-6 女长款修身单排两粒扣西服(衣长不动\",\"styleSizeCd\":\"L\",\"fabricId\":\"17912\",\"fabricCode\":\"XS-JX009-2\",\"fabricName\":\"白条进口毛呢印象条纹系列\",\"fabricComposition\":\"80%T17%R3%SP\",\"salesTime\":\"2020-11-23T16:48:40+08:00\",\"inOutFlag\":0,\"inOutType\":\"工厂成衣调拨出库\",\"storeId\":\"1\",\"storeName\":null,\"refStyleId\":\"7774596\",\"inventory\":\"sNy3yXUBHKIuDOaTOjwD\",\"price\":999.0},{\"barcode\":\"20201120-7oa\",\"batchNo\":\"SM-20201120-000084\",\"styleNameCn\":\"20FJ03-6 女长款修身单排两粒扣西服(衣长不动\",\"styleSizeCd\":\"M\",\"fabricId\":\"17541\",\"fabricCode\":\"XS-JX009-3\",\"fabricName\":\"红色条纹进口毛呢布料\",\"fabricComposition\":\"80%T17%R3%SP\",\"salesTime\":\"2020-11-23T16:48:45+08:00\",\"inOutFlag\":0,\"inOutType\":\"工厂成衣调拨出库\",\"storeId\":\"1\",\"storeName\":null,\"refStyleId\":\"7774596\",\"inventory\":\"sNy3yXUBHKIuDOaTOjwD\",\"price\":999.0},{\"barcode\":\"20201120-6pw\",\"batchNo\":\"SM-20201120-000094\",\"styleNameCn\":\"20FJ03-6 女长款修身单排两粒扣西服(衣长不动\",\"styleSizeCd\":\"L\",\"fabricId\":\"17541\",\"fabricCode\":\"XS-JX009-3\",\"fabricName\":\"红色条纹进口毛呢布料\",\"fabricComposition\":\"80%T17%R3%SP\",\"salesTime\":\"2020-11-23T16:48:50+08:00\",\"inOutFlag\":0,\"inOutType\":\"工厂成衣调拨出库\",\"storeId\":\"1\",\"storeName\":null,\"refStyleId\":\"7774596\",\"inventory\":\"sNy3yXUBHKIuDOaTOjwD\",\"price\":999.0},{\"barcode\":\"20201120-lPy\",\"batchNo\":\"SM-20201120-000096\",\"styleNameCn\":\"20FJ07 短款直筒翻领双兜小香风外套\",\"styleSizeCd\":\"M\",\"fabricId\":\"10575\",\"fabricCode\":\"LS-B080\",\"fabricName\":\"编织粗纺小香风\",\"fabricComposition\":\"4CALB-20A80T\",\"salesTime\":\"2020-11-23T16:48:56+08:00\",\"inOutFlag\":0,\"inOutType\":\"工厂成衣调拨出库\",\"storeId\":\"1\",\"storeName\":null,\"refStyleId\":\"7776499\",\"inventory\":\"lty3yXUBHKIuDOaTCjzh\",\"price\":1280.0},{\"barcode\":\"20201120-3q7\",\"batchNo\":\"SM-20201120-000106\",\"styleNameCn\":\"20FJ08 女短款直筒立领双排12粒扣小香风\",\"styleSizeCd\":\"M\",\"fabricId\":\"16757\",\"fabricCode\":\"LS-YC5850\",\"fabricName\":\"绿粉蓝色粗纺编织小香风面料\",\"fabricComposition\":\"100%POLYESTER\",\"salesTime\":\"2020-11-23T16:49:02+08:00\",\"inOutFlag\":0,\"inOutType\":\"工厂成衣调拨出库\",\"storeId\":\"1\",\"storeName\":null,\"refStyleId\":\"7776500\",\"inventory\":\"mty3yXUBHKIuDOaTDzxs\",\"price\":1280.0},{\"barcode\":\"20201120-BD1\",\"batchNo\":\"SM-20201120-000108\",\"styleNameCn\":\"20FJ08 女短款直筒立领双排12粒扣小香风\",\"styleSizeCd\":\"L\",\"fabricId\":\"16757\",\"fabricCode\":\"LS-YC5850\",\"fabricName\":\"绿粉蓝色粗纺编织小香风面料\",\"fabricComposition\":\"100%POLYESTER\",\"salesTime\":\"2020-11-23T16:49:07+08:00\",\"inOutFlag\":0,\"inOutType\":\"工厂成衣调拨出库\",\"storeId\":\"1\",\"storeName\":null,\"refStyleId\":\"7776500\",\"inventory\":\"mty3yXUBHKIuDOaTDzxs\",\"price\":1280.0},{\"barcode\":\"20201120-krQ\",\"batchNo\":\"SM-20201120-000102\",\"styleNameCn\":\"20FJ15-2 女短款修身单排1粒扣内翻领俩西服\",\"styleSizeCd\":\"S\",\"fabricId\":\"16830\",\"fabricCode\":\"YJ-B18102-白\",\"fabricName\":\"白色进口纱不透光面料\",\"fabricComposition\":\"95%POLYESTER5%PU\",\"salesTime\":\"2020-11-23T16:49:14+08:00\",\"inOutFlag\":0,\"inOutType\":\"工厂成衣调拨出库\",\"storeId\":\"1\",\"storeName\":null,\"refStyleId\":\"7776505\",\"inventory\":\"PNzAy3UBHKIuDOaTJT5n\",\"price\":999.0},{\"barcode\":\"20201120-y9G\",\"batchNo\":\"SM-20201120-000102\",\"styleNameCn\":\"20FJ15-2 女短款修身单排1粒扣内翻领俩西服\",\"styleSizeCd\":\"S\",\"fabricId\":\"16830\",\"fabricCode\":\"YJ-B18102-白\",\"fabricName\":\"白色进口纱不透光面料\",\"fabricComposition\":\"95%POLYESTER5%PU\",\"salesTime\":\"2020-11-23T16:49:19+08:00\",\"inOutFlag\":0,\"inOutType\":\"工厂成衣调拨出库\",\"storeId\":\"1\",\"storeName\":null,\"refStyleId\":\"7776505\",\"inventory\":\"PNzAy3UBHKIuDOaTJT5n\",\"price\":999.0},{\"barcode\":\"20201120-Pa2\",\"batchNo\":\"SM-20201120-000104\",\"styleNameCn\":\"20FJ15-2 女短款修身单排1粒扣内翻领俩西服\",\"styleSizeCd\":\"M\",\"fabricId\":\"16830\",\"fabricCode\":\"YJ-B18102-白\",\"fabricName\":\"白色进口纱不透光面料\",\"fabricComposition\":\"95%POLYESTER5%PU\",\"salesTime\":\"2020-11-23T16:49:24+08:00\",\"inOutFlag\":0,\"inOutType\":\"工厂成衣调拨出库\",\"storeId\":\"1\",\"storeName\":null,\"refStyleId\":\"7776505\",\"inventory\":\"PNzAy3UBHKIuDOaTJT5n\",\"price\":999.0},{\"barcode\":\"20201120-OkJ\",\"batchNo\":\"SM-20201120-000104\",\"styleNameCn\":\"20FJ15-2 女短款修身单排1粒扣内翻领俩西服\",\"styleSizeCd\":\"M\",\"fabricId\":\"16830\",\"fabricCode\":\"YJ-B18102-白\",\"fabricName\":\"白色进口纱不透光面料\",\"fabricComposition\":\"95%POLYESTER5%PU\",\"salesTime\":\"2020-11-23T16:49:30+08:00\",\"inOutFlag\":0,\"inOutType\":\"工厂成衣调拨出库\",\"storeId\":\"1\",\"storeName\":null,\"refStyleId\":\"7776505\",\"inventory\":\"PNzAy3UBHKIuDOaTJT5n\",\"price\":999.0},{\"barcode\":\"20201120-AYy\",\"batchNo\":\"SM-20201120-000104\",\"styleNameCn\":\"20FJ15-2 女短款修身单排1粒扣内翻领俩西服\",\"styleSizeCd\":\"M\",\"fabricId\":\"16830\",\"fabricCode\":\"YJ-B18102-白\",\"fabricName\":\"白色进口纱不透光面料\",\"fabricComposition\":\"95%POLYESTER5%PU\",\"salesTime\":\"2020-11-23T16:49:36+08:00\",\"inOutFlag\":0,\"inOutType\":\"工厂成衣调拨出库\",\"storeId\":\"1\",\"storeName\":null,\"refStyleId\":\"7776505\",\"inventory\":\"PNzAy3UBHKIuDOaTJT5n\",\"price\":999.0},{\"barcode\":\"20201120-WQr\",\"batchNo\":\"SM-20201120-000100\",\"styleNameCn\":\"20FJ15-2 女短款修身单排1粒扣内翻领俩西服\",\"styleSizeCd\":\"L\",\"fabricId\":\"16830\",\"fabricCode\":\"YJ-B18102-白\",\"fabricName\":\"白色进口纱不透光面料\",\"fabricComposition\":\"95%POLYESTER5%PU\",\"salesTime\":\"2020-11-23T16:49:41+08:00\",\"inOutFlag\":0,\"inOutType\":\"工厂成衣调拨出库\",\"storeId\":\"1\",\"storeName\":null,\"refStyleId\":\"7776505\",\"inventory\":\"PNzAy3UBHKIuDOaTJT5n\",\"price\":999.0},{\"barcode\":\"20201120-VE0\",\"batchNo\":\"SM-20201120-000101\",\"styleNameCn\":\"20FJ24 女标准修身单排2粒扣小香风\",\"styleSizeCd\":\"M\",\"fabricId\":\"17931\",\"fabricCode\":\"JQ-05\",\"fabricName\":\"红色小香风\",\"fabricComposition\":\"60%COTTON   40%T\",\"salesTime\":\"2020-11-23T16:49:46+08:00\",\"inOutFlag\":0,\"inOutType\":\"工厂成衣调拨出库\",\"storeId\":\"1\",\"storeName\":null,\"refStyleId\":\"7776513\",\"inventory\":\"RtzAy3UBHKIuDOaTMD79\",\"price\":1280.0},{\"barcode\":\"20201120-4pQ\",\"batchNo\":\"SM-20201120-000081\",\"styleNameCn\":\"20FJ24 女标准修身单排2粒扣小香风\",\"styleSizeCd\":\"L\",\"fabricId\":\"17931\",\"fabricCode\":\"JQ-05\",\"fabricName\":\"红色小香风\",\"fabricComposition\":\"60%COTTON   40%T\",\"salesTime\":\"2020-11-23T16:49:51+08:00\",\"inOutFlag\":0,\"inOutType\":\"工厂成衣调拨出库\",\"storeId\":\"1\",\"storeName\":null,\"refStyleId\":\"7776513\",\"inventory\":\"RtzAy3UBHKIuDOaTMD79\",\"price\":1280.0}],\"成衣条码0\":\"20201120-QVd\",\"成衣条码1\":\"20201120-q97\",\"成衣条码2\":\"20201120-3Dn\",\"成衣条码3\":\"20201120-Moq\",\"成衣条码4\":\"20201120-BqV\",\"成衣条码5\":\"20201120-nYr\",\"成衣条码6\":\"20201120-kZn\",\"成衣条码7\":\"20201120-yOZ\",\"成衣条码8\":\"20201120-r7b\",\"成衣条码9\":\"20201120-PZZ\",\"成衣条码10\":\"20201120-vZk\",\"成衣条码11\":\"20201120-dk3\",\"成衣条码12\":\"20201120-G9w\",\"成衣条码13\":\"20201120-Y9x\",\"成衣条码14\":\"20201120-bLR\",\"成衣条码15\":\"20201120-17P\",\"成衣条码16\":\"20201120-x9G\",\"成衣条码17\":\"20201120-LLD\",\"成衣条码18\":\"20201120-ZWN\",\"成衣条码19\":\"20201120-K6v\",\"成衣条码20\":\"20201120-PZ2\",\"款式0\":\"19FP5 女休闲微喇裤\",\"款式1\":\"19FP5 女休闲微喇裤\",\"款式2\":\"19FP5 女休闲微喇裤\",\"款式3\":\"19FP5 女休闲微喇裤\",\"款式4\":\"19FP5 女休闲微喇裤\",\"款式5\":\"19FP5 女休闲微喇裤\",\"款式6\":\"1FSSK 顶级重缎真丝女衫\",\"款式7\":\"1FSSK 顶级重缎真丝女衫\",\"款式8\":\"1FSSK 顶级重缎真丝女衫\",\"款式9\":\"1FSSK 顶级重缎真丝女衫\",\"款式10\":\"19FJ4 女长款修身双排6粒扣西服\",\"款式11\":\"19FJ21 女短款直筒圆领搭襟4兜\",\"款式12\":\"19FJ21 女短款直筒圆领搭襟4兜\",\"款式13\":\"19FJ21 女短款直筒圆领搭襟4兜\",\"款式14\":\"19FJ12 长款直筒小香风\",\"款式15\":\"19FJ12 长款直筒小香风\",\"款式16\":\"19FJ12 长款直筒小香风\",\"款式17\":\"19FJ4-2 女长款修身双排6粒扣西服\",\"款式18\":\"19FJ4-2 女长款修身双排6粒扣西服\",\"款式19\":\"19FJ4-3 女长款修身双排6粒扣西服\",\"款式20\":\"20FJ03-2 女标准修身单排2粒扣西服_衣长剪短5cm\",\"尺寸0\":\"S\",\"尺寸1\":\"L\",\"尺寸2\":\"M\",\"尺寸3\":\"L\",\"尺寸4\":\"M\",\"尺寸5\":\"M\",\"尺寸6\":\"S\",\"尺寸7\":\"M\",\"尺寸8\":\"M\",\"尺寸9\":\"M\",\"尺寸10\":\"L\",\"尺寸11\":\"S\",\"尺寸12\":\"M\",\"尺寸13\":\"L\",\"尺寸14\":\"M\",\"尺寸15\":\"S\",\"尺寸16\":\"S\",\"尺寸17\":\"M\",\"尺寸18\":\"M\",\"尺寸19\":\"S\",\"尺寸20\":\"M\",\"面料号0\":\"LTQ-430G-1#\",\"面料号1\":\"LTQ-430G-1#\",\"面料号2\":\"LTQ-430G-11#\",\"面料号3\":\"LTQ-430G-11#\",\"面料号4\":\"LTQ-430G-2#\",\"面料号5\":\"LTQ-430G-2#\",\"面料号6\":\"ZSZD-03\",\"面料号7\":\"ZSZD-03\",\"面料号8\":\"ZSZD-03\",\"面料号9\":\"ZSZD-13\",\"面料号10\":\"YJ-B18102-黑\",\"面料号11\":\"LS476-5\",\"面料号12\":\"LS476-5\",\"面料号13\":\"JQ-20113\",\"面料号14\":\"YR-01WHT\",\"面料号15\":\"YR-01BLk\",\"面料号16\":\"YR-01BLk\",\"面料号17\":\"YJ-B18102-白\",\"面料号18\":\"YJ-B18102-白\",\"面料号19\":\"LTQ-430G-11#\",\"面料号20\":\"QC-37\",\"面料描述0\":\"90%POLYESTER10%SP\",\"面料描述1\":\"90%POLYESTER10%SP\",\"面料描述2\":\"90%POLYESTER10%SP\",\"面料描述3\":\"90%POLYESTER10%SP\",\"面料描述4\":\"95%P5%SP\",\"面料描述5\":\"95%P5%SP\",\"面料描述6\":\"100%SILK\",\"面料描述7\":\"100%SILK\",\"面料描述8\":\"100%SILK\",\"面料描述9\":\"100%SILK\",\"面料描述10\":\"95%POLYESTER5%PU\",\"面料描述11\":\"100%polyester\",\"面料描述12\":\"100%polyester\",\"面料描述13\":\"60%COTTON40%POLYESTER\",\"面料描述14\":\"4CALB-60W40T\",\"面料描述15\":\"60%WOOL  40%P\",\"面料描述16\":\"60%WOOL  40%P\",\"面料描述17\":\"95%POLYESTER5%PU\",\"面料描述18\":\"95%POLYESTER5%PU\",\"面料描述19\":\"90%POLYESTER10%SP\",\"面料描述20\":\"50%羊毛51%柞蚕丝\",\"数量0\":null,\"数量1\":null,\"数量2\":null,\"数量3\":null,\"数量4\":null,\"数量5\":null,\"数量6\":null,\"数量7\":null,\"数量8\":null,\"数量9\":null,\"数量10\":null,\"数量11\":null,\"数量12\":null,\"数量13\":null,\"数量14\":null,\"数量15\":null,\"数量16\":null,\"数量17\":null,\"数量18\":null,\"数量19\":null,\"数量20\":null,\"价格0\":\"499\",\"价格1\":\"499\",\"价格2\":\"499\",\"价格3\":\"499\",\"价格4\":\"499\",\"价格5\":\"499\",\"价格6\":\"980\",\"价格7\":\"980\",\"价格8\":\"980\",\"价格9\":\"1080\",\"价格10\":\"999\",\"价格11\":\"1280\",\"价格12\":\"1280\",\"价格13\":\"1280\",\"价格14\":\"980\",\"价格15\":\"980\",\"价格16\":\"980\",\"价格17\":\"999\",\"价格18\":\"999\",\"价格19\":\"999\",\"价格20\":\"1280\"}");
            #endregion
            this.BindData();
            DataTable dt = DataTableExtend.ToDataTable<StockInOutDetailDTO>(this.出库单导出DTO.StockInOutDetailDTOs);
            this.xrPivotGrid分录.DataSource = dt;
            this.BindTableData(this.出库单导出DTO.StockInOutDetailDTOs);
            this.DataSource = this.出库单导出DTO.StockInOutDetailDTOs;
        }
        public XtraReport出库单(出库单导出DTO 出库单导出DTO)
        {
            InitializeComponent();
            String json = FunctionHelper.JsonSerialization(出库单导出DTO);
            this.出库单导出DTO = FunctionHelper.JsonDeserialization<出库单导出DTO>(json);
            this.BindData();
            DataTable dt = DataTableExtend.ToDataTable<StockInOutDetailDTO>(this.出库单导出DTO.StockInOutDetailDTOs);
            this.xrPivotGrid分录.DataSource = dt;
            this.BindTableData(this.出库单导出DTO.StockInOutDetailDTOs);
            this.DataSource = this.出库单导出DTO.StockInOutDetailDTOs;
        }
        private void BindData()
        {
            //this.xrLabel出库类型.Text = this.出库单导出DTO.inOutType;
            this.xrTableCell出库单号.Text = this.出库单导出DTO.inOutCode;
            this.xrBarCode出库单号.Text = this.出库单导出DTO.inOutCode;
            this.xrTableCell出库时间.Text = this.出库单导出DTO.createDate;
            this.xrTableCell出库人.Text = this.出库单导出DTO.staffName;
            this.xrTableCell调拨入库门店.Text = this.出库单导出DTO.inStoreName;
            this.xrTableCell调拨出库门店.Text = this.出库单导出DTO.outStoreName;
            this.xrTableCell数量.Text = this.出库单导出DTO.number;
            this.xrLabel备注.Text = this.出库单导出DTO.remarks;
        }

        /// <summary>
        /// 绑定采购单明细信息
        /// </summary>
        private void BindTableData(List<StockInOutDetailDTO> stockInOutDetailDTOs)
        {
            //为XRTable的每一列绑定数据集及对应的字段
            this.xrTableCell款式1.DataBindings.Add("Text", stockInOutDetailDTOs, "styleNameCn");//款式
            this.xrTableCell面料号1.DataBindings.Add("Text", stockInOutDetailDTOs, "fabricCode");//面料号
            this.xrTableCell面料描述1.DataBindings.Add("Text", stockInOutDetailDTOs, "fabricName");//面料描述
            this.xrTableCell尺寸1.DataBindings.Add("Text", stockInOutDetailDTOs, "styleSizeCd");//尺寸
            this.xrTableCell价格1.DataBindings.Add("Text", stockInOutDetailDTOs, "price");//价格
            this.xrTableCell成衣条码1.DataBindings.Add("Text", stockInOutDetailDTOs, "barcode");//成衣条码
            this.xrTableCell客户姓名.DataBindings.Add("Text", stockInOutDetailDTOs, "customerName");//客户姓名
            this.xrTableCell电话.DataBindings.Add("Text", stockInOutDetailDTOs, "mobile");//电话
            //this.xrTableCell10.DataBindings.Add("Text", ds, "DB0188A", "{0:n2}");//进价
            //this.xrTableCell11.DataBindings.Add("Text", ds, "DB0354A", "{0:f0}");//数量
            ////设置本页小计（数量小计）
            //this.xrTableCell23.DataBindings.Add("Text", ds, "DB0354A", "{0:f0}");//数量
            //this.xrTableCell23.Summary = new XRSummary(SummaryRunning.Page, SummaryFunc.Sum, string.Empty);
            ////绑定数量合计
            //this.xrTableCell18.DataBindings.Add("Text", ds, "DB0354A", "{0:f0}");//数量
            //this.xrTableCell18.Summary = new XRSummary(SummaryRunning.Group, SummaryFunc.Sum, string.Empty);
        }

        public XtraReport出库单 MTS库存()
        {
            this.xrLabel出库类型.Text = "MTS补货-成品调拨单";
            this.Watermark.Text = "MTS补货";
            this.Watermark.ForeColor = Color.FromArgb(64, 64, 64);
            this.xrTableCell表头客户姓名.Visible = false;
            this.xrTableCell表头电话.Visible = false;
            this.xrTableCell客户姓名.Visible = false;
            this.xrTableCell电话.Visible = false;
            return this;
        }
        public XtraReport出库单 MTO库存()
        {
            this.xrLabel出库类型.Text = "MTO库存-成品调拨单";
            // 表头
            this.出库单号.BackColor = Color.Red;
            this.出库时间.BackColor = Color.Red;
            this.出库人.BackColor = Color.Red;
            this.xrTableCell1.BackColor = Color.Red;
            this.xrTableCell2.BackColor = Color.Red;
            this.出库单号.ForeColor = Color.White;
            this.出库时间.ForeColor = Color.White;
            this.出库人.ForeColor = Color.White;
            this.xrTableCell1.ForeColor = Color.White;
            this.xrTableCell2.ForeColor = Color.White;
            // 分录
            this.xrTableCell款式0.BackColor = Color.Red;
            this.xrTableCell面料号0.BackColor = Color.Red;
            this.xrTableCell面料描述0.BackColor = Color.Red;
            this.xrTableCell尺寸0.BackColor = Color.Red;
            this.xrTableCell价格0.BackColor = Color.Red;
            this.xrTableCell成衣条码0.BackColor = Color.Red;
            this.xrTableCell款式0.ForeColor = Color.White;
            this.xrTableCell面料号0.ForeColor = Color.White;
            this.xrTableCell面料描述0.ForeColor = Color.White;
            this.xrTableCell尺寸0.ForeColor = Color.White;
            this.xrTableCell价格0.ForeColor = Color.White;
            this.xrTableCell成衣条码0.ForeColor = Color.White;
            
            this.Watermark.Text = "MTO库存";
            this.Watermark.ForeColor = Color.Red;
            return this;
        }
        public XtraReport出库单 抖音()
        {
            this.xrLabel出库类型.Text = "抖音出库单";
            // 表头
            this.出库单号.BackColor = Color.Pink;
            this.出库时间.BackColor = Color.Pink;
            this.出库人.BackColor = Color.Pink;
            this.xrTableCell1.BackColor = Color.Pink;
            this.xrTableCell2.BackColor = Color.Pink;
            this.出库单号.ForeColor = Color.White;
            this.出库时间.ForeColor = Color.White;
            this.出库人.ForeColor = Color.White;
            this.xrTableCell1.ForeColor = Color.White;
            this.xrTableCell2.ForeColor = Color.White;
            // 分录
            this.xrTableCell款式0.BackColor = Color.Pink;
            this.xrTableCell面料号0.BackColor = Color.Pink;
            this.xrTableCell面料描述0.BackColor = Color.Pink;
            this.xrTableCell尺寸0.BackColor = Color.Pink;
            this.xrTableCell价格0.BackColor = Color.Pink;
            this.xrTableCell成衣条码0.BackColor = Color.Pink;
            this.xrTableCell款式0.ForeColor = Color.White;
            this.xrTableCell面料号0.ForeColor = Color.White;
            this.xrTableCell面料描述0.ForeColor = Color.White;
            this.xrTableCell尺寸0.ForeColor = Color.White;
            this.xrTableCell价格0.ForeColor = Color.White;
            this.xrTableCell成衣条码0.ForeColor = Color.White;

            this.Watermark.Text = "抖音出库";
            this.Watermark.ForeColor = Color.Pink;
            return this;
        }
        public XtraReport出库单 抖音退货()
        {
            this.xrLabel出库类型.Text = "抖音退货入库单";
            // 表头
            this.出库单号.BackColor = Color.Blue;
            this.出库时间.BackColor = Color.Blue;
            this.出库人.BackColor = Color.Blue;
            this.xrTableCell1.BackColor = Color.Blue;
            this.xrTableCell2.BackColor = Color.Blue;
            this.出库单号.ForeColor = Color.White;
            this.出库时间.ForeColor = Color.White;
            this.出库人.ForeColor = Color.White;
            this.xrTableCell1.ForeColor = Color.White;
            this.xrTableCell2.ForeColor = Color.White;
            // 分录
            this.xrTableCell款式0.BackColor = Color.Blue;
            this.xrTableCell面料号0.BackColor = Color.Blue;
            this.xrTableCell面料描述0.BackColor = Color.Blue;
            this.xrTableCell尺寸0.BackColor = Color.Blue;
            this.xrTableCell价格0.BackColor = Color.Blue;
            this.xrTableCell成衣条码0.BackColor = Color.Blue;
            this.xrTableCell款式0.ForeColor = Color.White;
            this.xrTableCell面料号0.ForeColor = Color.White;
            this.xrTableCell面料描述0.ForeColor = Color.White;
            this.xrTableCell尺寸0.ForeColor = Color.White;
            this.xrTableCell价格0.ForeColor = Color.White;
            this.xrTableCell成衣条码0.ForeColor = Color.White;

            this.Watermark.Text = "抖音退货入库";
            this.Watermark.ForeColor = Color.Blue;
            return this;
        }
    }
}
